﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace gamexpert.admin
{
    public partial class ControlPanel : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!(User.Identity.IsAuthenticated && User.IsInRole("Administrator")))
            {
                Response.Redirect("~/admin/Default.aspx");
            }
            LinkButton lb = (LinkButton)Master.FindControl("lbtn_cpanel");
            lb.CssClass = "selected";
        }
    }
}
